package design.pattern.adapter.class$adapter;

/**
 * @author AtoVio, Winter Yuan
 */
public class Computer {

    // 从SD卡中读数据
    public String readSD(SDCard sdCard) {
        if (sdCard == null) {
            throw new NullPointerException("sd card is null");
        }
        return sdCard.readSD();
    }
}
